package ApplicationStartTest.Document;

import java.lang.annotation.*;

@Documented //将此注解包含到JavaDoc中
@Retention(RetentionPolicy.RUNTIME)//JVM 运行时期仍然保留该注解, 可通过反射获得
@Target(value = {ElementType.CONSTRUCTOR, ElementType.FIELD,
        ElementType.LOCAL_VARIABLE, ElementType.TYPE, ElementType.METHOD, ElementType.PACKAGE, ElementType.PARAMETER })
public @interface Deprecated  {
    //"Deprecated" 为注解名称
    //@interface 声明
    String name() default "过期";
}

